//
//  SearchCollectionViewCell.m
//  EDPS
//
//  Created by dllo on 15/11/25.
//  Copyright © 2015年 张维扬. All rights reserved.
//

#import "SearchCollectionViewCell.h"

@interface SearchCollectionViewCell ()

@property (nonatomic,retain) UILabel *addressLabel;

@end


@implementation SearchCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        self.addressLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 3, 70, 30)];
        [self.contentView addSubview:self.addressLabel];
    }
    return self;
}

- (void)setModel:(SearchModel *)model
{
    _model = model;
   // NSLog(@"model.name %@",model.name);
   self.addressLabel.text = _model.name;
   self.addressLabel.textColor = RGBA(62, 172, 190, 1);
   self.addressLabel.textAlignment = 1;
   [self.addressLabel setFont:[UIFont systemFontOfSize:13]];
}





@end
